package dbPar

import (
	"db2s/ETL"
	"db2s/parDef"
)

type GeneralInsertSql struct {
	Schema, Table string
	Prefix        string               `json:"prefix"`
	InsertColumn  []parDef.ColMetaMapS `json:"insertColumn"` //目标端写入列的顺序
	QueryColumn   []parDef.ColMetaMapS `json:"queryColumn"`  //源端查询列的顺序
	InsertValue   any
	LockCol       parDef.Encryption `json:"lockCol"`
}
type ExecSql struct {
	DbDrive ETL.WriteOpt
	Prefix  string `json:"prefix"`
	Sql     any
}
